package com.xike.micromemberserver.dao;

import com.xike.micromemberserver.entity.ChapterEntity;
import com.xike.micromemberserver.entity.PageInfoMation;

import java.util.List;

/**
 * @author hongbin
 * @date 2021-04-28 20:06
 * Description：
 */

public interface ChapterServiceMapper {
    List<ChapterEntity> selectAll(int bookId);

    int insert(ChapterEntity entity);

    int update(ChapterEntity entity);

    int delete(int id);


    ChapterEntity selectOneByNum(ChapterEntity currentChapterEntity);
}
